CommerceBird\Admin\Actions\Ajax\SettingsAjax S

Total Complexity 49
Dependencies 2
Dependents 5
Total lines 352
Lines of code 211
Logical lines of code 111
Comment lines 75
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
sanitize_subscription_data()
B
40 18 66
get_subscription_data()
A
49 8 30
settings_set()
S
51 6 25
subscription_get()
S
48 5 35
validate_subscription_id()
S
74 3 4
get_empty_subscription_structure()
S
57 1 19
validate_email()
S
75 2 4
validate_token()
S
74 2 4
__construct()
S
82 1 3
settings_reset()
S
66 1 8
settings_get()
S
64 1 10
get_token()
S
78 1 3